package com.wang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 后端项目启动主类
 * EnableScheduling:一定要添加,才能使用定时任务;
 * @author Zjx
 */
@SpringBootApplication
@EnableScheduling
public class WebBackApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebBackApplication.class, args);
    }
}
